#!/usr/bin/python3

import time

if __name__ == '__main__':
    while(True):
        try:
            print("iHome server do something.")
            time.sleep(5)

        except KeyboardInterrupt:
            print('iHome server stop.')
            exit(0)